standard message processing functions
Standard message processing functions are provided with GuiDesigner to process common messages. Most messages for which no standard message processing function exists are special purpose messages recognized by only one or a few grid types.

Grid functions call standard message processing functions to handle most standard messages they recognize, and usually ignore the rest. When no existing message processing function handles a message in the desired manner, grid functions call a custom message processing function or a message processing subroutine within the grid function.

A description of the built-in standard message functions follows:

NOTE : the format screwed up during automatic conversion and is fixed only down to XuiGetCursor().  Help!!!

standard message processing functions - details

XuiCallback  ( grid, message, v0, v1, v2, v3, @r0, r1 )

grid - grid sending the callback message (or appearing to)
message - message: send this message to the callback function
v0,v1,v2,v3 - variables whose meanings depend on message
r0 - variable whose meaning depends on message
r1 - variable whose meaning depends on message

Call XuiCallback() directly to send a callback message to the callback function registered for grid .  If no callback function is registered for grid , XuiCallback() simply returns without error.

XuiCreateValueArray  ( grid, #CreateValueArray, upperBound, 0, 0, 0, kid, 0 )

grid,kid - target grid
upperBound - upper bound of XLONG value array (value[])

XuiDestroy  ( grid, #Destroy, 0, 0, 0, 0, kid, 0 )

grid,kid - identifies target grid
#Destroy - message: destroy target grid

XuiDestroyWindow  ( grid, #DestroyWindow, 0, 0, 0, 0, kid, 0 )

grid,kid - identifies target grid
#DestroyWindow - message: destroy window containing target grid

XuiDisable  ( grid, #Disable, 0, 0, 0, 0, kid, 0 )

grid,kid - identifies target grid
#Disable - message: disable mouse/keyboard/redraw messages

XuiDisplayWindow  ( grid, #DisplayWindow, 0, 0, 0, 0, kid, 0 )

grid,kid - identifies target grid
#DisplayWindow - message: display window that contains target grid

XuiEnable  ( grid, #Enable, 0, 0, 0, 0, kid, 0 )

grid,kid - identifies target grid
#Enable - message: enable mouse/keyboard/redraw messages

XuiGetAlign  ( grid, #GetAlign, @align, @justify, @inLeft, @inTop, kid, @bw )

grid,kid - identifies target grid
#GetAlign - message: get align property
align - align property; 9 alignments (upper-left to lower-right)
justify - justify property - left,center,right,both
inLeft - indent text from left grid border
inTop - indent text from top grid border

XuiGetBorder  ( grid, #GetBorder, @border, @borderUp, @borderDown, 0, kid, @bw )

grid,kid - target grid
#GetBorder - message: get border properties
border - current border property
borderUp - primary, normal, or only border property
borderDown - secondary border property (as in button down)
bw - border width in pixels calculated for know border styles

XuiGetCallback  ( grid, #GetCallback, @callGrid, @callFunc, @i2, @i3, kid, 0 )

grid - target grid
#GetCallback - message: get callback arguments
callGrid - grid argument in callback messages
callFunc - callback function registered by XuiSetCallback()
i2,i3 - index values registered by XuiSetCallback() -1 = none
kid - kid # of grid

XuiGetColor  ( grid, #GetColor, @back, @draw, @lowlight, @highlight, kid, 0 )

grid,kid - target grid
#GetColor - message: get color properties (4 of 8 colors)
back - background color
draw - drawing color
lowlight - lowlight color
highlight - highlight color

XuiGetColorExtra  ( grid, #GetColorExtra, @dull, @accent, @lowtext, @hightext, kid, 0 )
grid,kid - target grid
#GetColorExtra - message: get color properties (4 of 8 colors)
dull - dull color
accent - accent color
lowtext - lowtext color
hightext - hightext color  
XuiGetCursor  ( grid, #GetCursor, @cursor, 0, 0, 0, kid, 0 )

grid,kid - target grid
#GetCursor - message: get mouse cursor number
cursor - mouse cursor number

XuiGetDisplay  ( grid, #GetDisplay, 0, 0, 0, 0, kid, @display$ )  grid,kid - target grid #GetDisplay - message: get display screen name display$ - display screen name  
XuiGetEnclosedGrids  ( grid, #GetEnclosedGrids, 0, 0, 0, 0, kid, grid[] )  grid,kid - target grid #GetEnclosedGrids - message: get grids surrounding target grid[] - array of grid numbers enclosed by grid,kid  
XuiGetEnclosingGrid  ( grid, #GetEnclosingGrid, @enclosingGrid, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetEnclosingGrid - message: get grid surrounding target grid enclosingGrid - grid number of grid enclosing grid,kid  
XuiGetFont  ( grid, #GetFont, @size, @weight, @italic, @angle, kid, @typeface$ )  grid,kid - target grid #GetFont - message: get font information size - size of font in .1 point units weight - boldness of font from 0 to 1000 italic - italic tilt angle - angle of text baseline in .1 degree units typeface$ - name of font typeface (Courier, Times New Roman, etc)  
XuiGetFontNumber  ( grid, #GetFontNumber, @font, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetFontNumber - message: grid font number font - font number  
XuiGetGridFunction  ( grid, #GetGridFunction, @func, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetGridFunction - message: get grid function address func - grid function address  
XuiGetGridFunctionName  ( grid, #GetGridFunctionName, @func, 0, 0, 0, kid, gridFunc$ )  grid,kid - target grid #GetGridFunctionName - message: get grid function address func - grid function address gridFunc$ - grid function name  
XuiGetGridName  ( grid, #GetGridName, @gridNumber, 0, 0, 0, kid, @grid$ )  grid,kid - target grid #GetGridName - message: get grid name gridNumber - grid number of target grid grid$ - grid name  
XuiGetGridNumber  ( grid, #GetGridNumber, @g, @kid1, @kid2, @kid3, kid, @parent )  grid,kid - target grid #GetGridNumber - message: get grid number g - grid number of target grid kid1,kid2,kid3 - grid numbers of kid1, kid2, kid3 parent - grid number of parent grid  
XuiGetGridType  ( grid, #GetGridType, @gridType, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetGridType - message: get grid type gridType - grid type  
XuiGetGridTypeName  ( grid, #GetGridTypeName, @gridType, 0, 0, 0, kid, @gridType$ )  grid,kid - target grid #GetGridTypeName - message: get grid type name gridType - grid type gridType$ - grid type name  
XuiGetGroup  ( grid, #GetGroup, @group, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetGroup - message: get group property group - group number  
XuiGetHelp  ( grid, #GetHelp, x, y, state, time, kid, @help$ )  grid,kid - target grid #GetHelp - message: get help information due to help button event x,y - mouse cursor position (else < 0) state - optional mouse button state time - optional free-running millisecond system time  
XuiGetHelpFile  ( grid, #GetHelpFile, 0, 0, 0, 0, kid, @helpFile$ )  grid,kid - target grid #GetHelpFile - message: get current help file name helpFile$ - current help file name  
XuiGetHelpString  ( grid, #GetHelpString, 0, 0, 0, 0, kid, @helpString$ )  grid,kid - target grid #GetHelpString - message: get help string property helpString$ - help string property  
XuiGetHelpStrings  ( grid, #GetHelpStrings, 0, 0, 0, 0, kid, @helpString$[] )  grid,kid - target grid #GetHelpStrings - message: get help string of target and its kids helpString$[] - help strings from target and its kids  
XuiGetHintString  ( grid, #GetHintString, 0, 0, 0, 0, kid, @hintString$ )  grid,kid - target grid #GetHintString - message: get hint string hintString$ - hint string property  
XuiGetImage  ( grid, #GetImage, @image, @align, @indentX, @indentY, kid, @image$ )  grid,kid - target grid #GetImage - message: get image grid property and image x,y indent image - image grid align - image alignment (reserved - one of nine possibilities) indentX - indent image from border on left indentY - indent image from border on top image$ - filename of image  
XuiGetImageCoords  ( grid, #GetImageCoords, @offsetX, @offsetY, @width, @height, kid, 0)  grid,kid - target grid #GetImageCoords - message: get image coordinates (coords in image) offsetX - leftmost pixel in image to display (0 = leftmost) offsetY - topmost pixel in image to display (0 = topmost) width - width in pixels of image to display (0 = all) height - height in pixels of image to display (0 = all)  
XuiGetIndent  ( grid, #GetIndent, @inLeft, @inTop, @inRight, @inBottom, kid, @bw )  grid,kid - target grid #GetIndent - message: get text indent properties (all in pixels) inLeft - indent text from border on left inTop - indent text from border on top inRight - indent text from border on right inBottom - indent text from border on bottom  
XuiGetJustify  ( grid, #GetJustify, @justify, @align, @inLeft, @inTop, kid, @bw )  grid,kid - target grid #GetJustify - message: get text justify property justify - text justify property (left,center,right,both) align - text align property inLeft - text indent from border on left inTop - text indent from border on top  
XuiGetKeyboardFocus  ( grid, #GetKeyboardFocus, @focusGrid, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetKeyboardFocus - message: get grid with keyboard focus focusGrid - grid that currently has keyboard focus (else 0)  
XuiGetKeyboardFocusGrid  ( grid, #GetKeyboardFocusGrid, @focusGrid, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetKeyboardFocusGrid - message: get window keyboard focus grid focusGrid - most recent keyboard focus grid in window  
XuiGetKidArray  ( grid, #GetKidArray, @g, @parent, 0, 0, kid, @kid[] )  grid,kid - target grid #GetKidArray - message: get array of kid numbers of target kids kid[] - grid numbers of target grid kids  
XuiGetKidNumber  ( grid, #GetKidNumber, @kidNumber, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetKidNumber - message: get kid number of target relative to parent kidNumber - kid number of target relative to its parent grid  
XuiGetKids  ( grid, #GetKids, @g, @k1, @k2, @k3, kid, @k4 )  grid,kid - target grid #GetKids - message: get grid numbers of target and 1st 4 kids g - target grid k1,k2,k3,k4 - grid numbers of target grids first four kid grids  
XuiGetMaxMinSize  ( grid, #GetMaxMinSize, @maxW, @maxH, @minW, @minH, kid, 0 )  grid,kid - target grid #GetMaxMinSize - message: get grid max/min width/height properties maxW,maxH - maximum width and height of target minW,minH - minimum width and height of target  
XuiGetMessageFunc  ( grid, #GetMessageFunc, message, @func, 0, 0, kid, 0 )  grid,kid - target grid #GetMessageFunc - message: get a message processing function message - message the message processing function processes func - message processing function address for message  
XuiGetMessageFuncArray  ( grid, #GetMessageFuncArray, 0, 0, 0, 0, kid, @func[] )  grid,kid - target grid #GetMessageFuncArray - message: get all message processing functions func[] - message processing function addresses  
XuiGetMessageSub  ( grid, #GetMessageSub, message, @sub, 0, 0, kid, 0 )  grid,kid - target grid #GetMessageSub - message: get message processing subroutine message - message the message processing subroutine processes sub - message processing subroutine address for message  
XuiGetMessageSubArray  ( grid, #GetMessageSubArray, 0, 0, 0, 0, kid, @sub[] )  grid,kid - target grid #GetMessageSubArray - message: get message processing subroutines sub[] - message processing subroutine addresses  
XuiGetModalInfo  ( grid, #GetModalInfo, @v0, @v1, @v2, @v3, kid, @r1 )  grid,kid - target grid #GetModalInfo - message: display modal window and get response v0,v1,v2,v3,r1 - arguments from user generated callback  
XuiGetMouseFocus  ( grid, #GetMouseFocus, @mouseFocusGrid, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetMouseFocus - grid number of grid with mouse focus  
XuiGetParent  ( grid, #GetParent, @parent, @g, @k1, @k2, kid, @k3 )  grid,kid - target grid #GetParent - message: get grid number of parent of target parent - grid number of parent of target grid  
XuiGetRedrawFlags  ( grid, #GetRedrawFlags, @redrawFlags, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetRedrawFlags - message: get redraw flags property redrawFlags - redraw flags property  
XuiGetSize  ( grid, #GetSize, @x, @y, @width, @height, kid, 0 )  grid,kid - target grid #GetSize - message: get position and size in window coordinates x,y - coordinates of upper left corner of target width - width of grid in pixels height - height of grid in pixels  
XuiGetSmallestSize  ( grid, #GetSmallestSize, 0, 0, @width, @height, kid, 0 )  grid,kid - target grid #GetSmallestSize - message: get smallest acceptable size of grid width,height - smallest acceptable width and height in pixels  
XuiGetState  ( grid, #GetState, @state, @keyboard, @mouse, @redraw, kid, @enable )  grid,kid - target grid #GetState - message: get state of target grid state - state property (0 means ignore keyboard,mouse,redraw) keyboard - keyboard property (0 means ignore keyboard) mouse - mouse property (0 means ignore mouse) redraw - redraw property (0 means ignore redraw) enable - enable property (0 means disabled by GraphicsDesigner)  
XuiGetStyle  ( grid, #GetStyle, @style, @styleMax, 0, 0, kid, 0 )  grid,kid - target grid #GetStyle - message: get style property style - style property styleMax - maximum valid style property  
XuiGetTextArray  ( grid, #GetTextArray, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #GetTextArray - message: get text array property text$[] - text array property  
XuiGetTextArrayLine  ( grid, #GetTextArrayLine, line, 0, 0, @upper, kid, @text$ )  grid,kid - target grid #GetTextArrayLine - message: get line from text array property line - line number in text array property (0 = 1st line) upper - upper bound of text array property text$ - text string from text array property  
XuiGetTextArrayLines  ( grid, #GetTextArrayLines, line, count, 0, @upper, kid, @text$[] )  grid,kid - target grid #GetTextArrayLines - message: get lines from text array property line - first line number in text array property count - number of lines to return from text array upper - upper bound of text array property text$[] - text lines from text array property  
XuiGetTextString  ( grid, #GetTextString, 0, 0, 0, 0, kid, @text$ )  grid,kid - target grid #GetTextString - message: get text string property text$ - text string property  
XuiGetTextStrings  ( grid, #GetTextStrings, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #GetTextStrings - message: get text string from target and kids text$[] - text string property from target and kids  
XuiGetTexture  ( grid, #GetTexture, @texture, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetTexture - message: get text texture property texture - text texture property  
XuiGetTimer  ( grid, #GetTimer, @timer, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetTimer - message: get timer property timer - timer property (milliseconds)  
XuiGetValue  ( grid, #GetValue, @v0, 0, 0, 0, kid, index )  grid,kid - target grid #GetValue - message: get XLONG value from value array property v0 - value[index] (element of XLONG value array property) index - element in XLONG value array property  
XuiGetValues  ( grid, #GetValues, @v0, @v1, @v2, @v3, kid, index )  grid,kid - target grid #GetValues - message: get XLONG values from value array property v0,v1,v2,v3 - value[index+0], value[index+1], value[index+2] ... index - starting element in XLONG value array property  
XuiGetValueArray  ( grid, #GetValueArray, 0, 0, 0, 0, kid, @value[] )  grid,kid - target grid #GetValueArray - message: get XLONG value array property value[] - copy of XLONG value array property  
XuiGetWindow  ( grid, #GetWindow, @window, @wtwp, @wf, @wg, kid, @kfg )  grid,kid - target grid #GetWindow - message: get window containing target window - window number of window that contains target grid wtwp - (windowType OR windowParent) of window wf - window function address of window wg - window grid number (grid that fills window) kfg - most recent keyboard focus grid in window  
XuiGetWindowFunction  ( grid, #GetWindowFunction, @func, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetWindowFunction - message: get window function address func - window function address  
XuiGetWindowGrid  ( grid, #GetWindowGrid, @g, 0, 0, 0, kid, 0 )  grid,kid - target grid #GetWindowGrid - message: get grid that fills window g - grid number of grid that fills window  
XuiGetWindowIcon  ( grid, #GetWindowIcon, @icon, 0, 0, 0, kid, @icon$ )  grid,kid - target grid #GetWindowIcon - message: get icon number of minimized window icon icon - minimized window icon number icon$ - minimized window icon name  
XuiGetWindowSize  ( grid, #GetWindowSize, @xDisp, @yDisp, @width, @height, kid, 0 )  grid,kid - target grid #GetWindowSize - message: get window position and size on display xDisp,yDisp - x,y position of upper left corner of window innards width,height - width,height of window innards  
XuiGetWindowTitle  ( grid, #GetWindowTitle, 0, 0, 0, 0, kid, @title$ )  grid,kid - target grid #GetWindowTitle - message: get window title title$ - window title  
XuiGotKeyboardFocus  ( grid, #GotKeyboardFocus, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #GotKeyboardFocus - message: target just given keyboard focus  
XuiGrabArray  ( grid, #GrabArray, 0, 0, 0, 0, kid, @array[] )  grid,kid - target grid #GrabArray - message: grab array property array[] - array property (removed - leaves empty array)  
XuiGrabTextArray  ( grid, #GrabTextArray, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #GrabTextArray - message: grab text array property text$[] - textArray property (removed - leaves empty array)  
XuiGrabTextString  ( grid, #GrabTextString, 0, 0, 0, 0, kid, @text$ )  grid,kid - target grid #GrabTextString - message: grab text string property text$ - textString property (removed - leaves empty string)  
XuiGrabValueArray  ( grid, #GrabValueArray, 0, 0, 0, 0, kid, @value[] )  grid,kid - target grid #GrabValueArray - message: grab value array property value[] - value array property (removed - leaves empty array)  
XuiHideWindow  ( grid, #HideWindow, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #HideWindow - message: hide window containing target  
XuiInitialize  ( grid, #Initialize, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #Initialize - message: initialize  
XuiKeyboardFocusBackward  ( grid, #KeyboardFocusBackward, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #KeyboardFocusBackward - message: move keyboard focus backward  
XuiKeyboardFocusForward  ( grid, #KeyboardFocusForward, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #KeyboardFocusForward - message: move keyboard focus forward  
XuiLostKeyboardFocus  ( grid, #LostKeyboardFocus, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #LostKeyboardFocus - message: keyboard focus just removed from target  
XuiMaximizeWindow  ( grid, #MaximizeWindow, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #MaximizeWindow - message: maximize window  
XuiMinimizeWindow  ( grid, #MinimizeWindow, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #MinimizeWindow - message: minimize window  
XuiMonitorContext  ( grid, #MonitorContext, g, f, 0, 0, kid, action )  grid,kid - target grid #MonitorContext - message: monitor window context changes g - grid argument in ContextChange callbacks f - function to call with ContextChange callbacks action - IFZ action THEN delete ELSE install  
XuiMonitorHelp  ( grid, #MonitorHelp, g, f, 0, 0, kid, action )  grid,kid - target grid #MonitorHelp - message: monitor help requests g - grid argument in mouse help button callbacks f - function to call with help button messages action - IFZ action THEN delete ELSE install  
XuiMonitorKeyboard  ( grid, #MonitorKeyboard, g, f, 0, 0, kid, action )  grid,kid - target grid #MonitorKeyboard - message: monitor keyboard messages g - grid argument in keyboard message callbacks f - function to call with keyboard messages  
XuiMonitorMouse  ( grid, #MonitorMouse, g, f, 0, 0, kid, action )  grid,kid - target grid #MonitorMouse - message: monitor mouse messages g - grid argument in mouse message callbacks f - function to call with mouse messages  
XuiMouseEnter  ( grid, #MouseEnter, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #MouseEnter - message: mouse cursor entered grid  
XuiPokeArray  ( grid, #PokeArray, 0, 0, 0, 0, kid, @array[] )  grid,kid - target grid #PokeArray - message: poke array property array[] - array property  
XuiPokeTextArray  ( grid, #PokeTextArray, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #PokeTextArray - message: poke text array property text$[] - text array property  
XuiPokeTextString  ( grid, #PokeTextString, 0, 0, 0, 0, kid, @text$ )  grid,kid - target grid #PokeTextString - message: poke text string property text$ - text string property  
XuiPokeValueArray  ( grid, #PokeValueArray, 0, 0, 0, 0, kid, @value[] )  grid,kid - target grid #PokeValueArray - message: poke XLONG value array property value[] - XLONG value array property  
XuiRedraw  ( grid, #Redraw, x, y, width, height, kid, 0 )  grid,kid - target grid #Redraw - message: redraw grid and its kids x,y - upper-left corner of grid that needs redraw width,height - width,height of window area that needs redraw  
XuiRedrawGrid  ( grid, #RedrawGrid, x, y, width, height, kid, 0 )  grid,kid - target grid #RedrawGrid - message: redraw grid (but not its kids) x,y - upper-left corner of grid that needs redraw width,height - width,height of window area that needs redraw  
XuiRedrawWindow  ( grid, #RedrawWindow, xWin, yWin, width, height, kid, 0 )  grid,kid - target grid #RedrawWindow - message: redraw grids in window xWin,yWin - upper-left corner of window area that needs redraw width,height - width,height of window area that needs redraw  
XuiResize  ( grid, #Resize, x, y, width, height, kid, 0 )  grid,kid - target grid #Resize - message: resize grid (and kids presumably) x,y - upper-left corner of grid in parent coords width,height - width,height of grid in window coords  
XuiResizeNot  ( grid, #ResizeNot, x, y, 0, 0, kid, 0 )  grid,kid - target grid #ResizeNot - message: don't resize grid (but maybe reposition) x,y - upper-left corner of grid in parent coords  
XuiResizeWindow  ( grid, #ResizeWindow, xDisp, yDisp, width, height, kid, 0 )  grid,kid - target grid #ResizeWindow - message: resize grid (and kids presumably) xDisp,yDisp - upper-left corner of window innards on display width,height - width,height of window innards  
XuiResizeWindowToGrid  ( grid, #ResizeWindowToGrid, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #ResizeWindowToGrid - message: resize window to window grid  
XuiSelectWindow  ( grid, #SelectWindow, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #SelectWindow - message: select window (give keyboard focus)  
XuiSetAlign  ( grid, #SetAlign, align, justify, inLeft, inTop, kid, 0 )  grid,kid - target grid #SetAlign - message: set text align,justify,indent properties align - align property (-1 = don't change) justify - justify property (-1 = don't change) inLeft - indent from border at left (-1 = don't change) inTop - indent from border at top (-1 = don't change)  
XuiSetBorder  ( grid, #SetBorder, border, borderUp, borderDown, 0, kid, 0 )  grid,kid - target grid #SetBorder - message: set border properties border - current border property (-1 = no change) borderUp - primary border property (-1 = no change) borderDown - secondary border property (-1 = no change)  
XuiSetCallback  ( grid, #SetCallback, callGrid, callFunc, i2, i3, kid, 0 )  grid,kid - target grid #SetCallback - message: set callback properties callGrid - grid argument in callback messages callFunc - address of function to call with callback messages i2,i3 - callback indices (-1 for none/pass-through)  
XuiSetColor  ( grid, #SetColor, back, draw, lowlight, highlight, kid, 0 )  grid,kid - target grid #SetColor - message: set color properties (4 of 8) back - background color (-1 = no change) draw - drawing color (-1 = no change) lowlight - lowlight color (-1 = no change) highlight - highlight color (-1 = no change)  
XuiSetColorAll  ( grid, #SetColor, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetColor - message: set color to target and all its kids back - background color (-1 = no change) draw - drawing color (-1 = no change) lowlight - lowlight color (-1 = no change) highlight - highlight color (-1 = no change)  
XuiSetColorExtra  ( grid, #SetColorExtra, dull, accent, lowtext, hightext, kid, 0 )  grid,kid - target grid #SetColorExtra - message: set color properties (4 of 8) dull - dull color property (-1 = no change) accent - accent color property (-1 = no change) lowtext - lowtext color property (-1 = no change) hightext - hightext color property (-1 = no change)  
XuiSetColorExtraAll  ( grid, #SetColorExtra, dull, accent, lowtext, hightext, kid, 0 )  grid,kid - target grid #SetColorExtra - message: set color to target and its kids dull - dull color property (-1 = no change) accent - accent color property (-1 = no change) lowtext - lowtext color property (-1 = no change) hightext - hightext color property (-1 = no change)  
XuiSetCursor  ( grid, #SetCursor, cursor, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetCursor - message: set cursor number cursor - mouse cursor number property  
XuiSetFont  ( grid, #SetFont, size, weight, italic, angle, kid, @typeface$ )  grid,kid - target grid #SetFont - message: set font property size - size of font in .1 point units weight - boldness of font (0 to 1000) italic - italic tilt of font (true/false) angle - tilt of font baseline in .1 degree units (0 - 360) typeface$ - name of typeface (Courier New, Times New Roman, etc)  
XuiSetFontNumber  ( grid, #SetFontNumber, font, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetFontNumber - message: set font number property font - font number  
XuiSetGridFunction  ( grid, #SetGridFunction, func, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetGridFunction - message: set grid function of target grid func - grid function address  
XuiSetGridFunctionName  ( grid, #SetGridFunctionName, 0, 0, 0, 0, kid, @gridFunc$ )  grid,kid - target grid #SetGridFunctionName - message: set grid function name gridFunc$ - grid function name property  
XuiSetGridName  ( grid, #SetGridName, 0, 0, 0, 0, kid, @grid$ )  grid,kid - target grid #SetGridName - message: set grid name property grid$ - grid name property (valid symbol name)  
XuiSetGridType  ( grid, #SetGridType, gridType, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetGridType - message: set grid type property gridType - grid type property  
XuiSetGridTypeName  ( grid, #SetGridTypeName, 0, 0, 0, 0, kid, @gridType$ )  grid,kid - target grid #SetGridTypeName - message: set grid type name gridType$ - grid type name  
XuiSetGroup  ( grid, #SetGroup, group, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetGroup - message: set group property  
XuiSetHelp  ( grid, #SetHelp, 0, 0, 0, 0, kid, @help$ )  grid,kid - target grid #SetHelp - message: display string in InstantHelp window help$ - string to display in InstantHelp window  
XuiSetHelpFile  ( grid, #SetHelpFile, 0, 0, 0, 0, kid, @helpFile$ )  grid,kid - target grid #SetHelpFile - message: set current help file name (for program) helpFile$ - name of active help file  
XuiSetHelpString  ( grid, #SetHelpString, 0, 0, 0, 0, kid, @help$ )  grid,kid - target grid #SetHelpString - message: set help string property help$ - help string property  
XuiSetHelpStrings  ( grid, #SetHelpStrings, 0, 0, 0, 0, kid, @help$[] )  grid,kid - target grid #SetHelpStrings - message: set help string of target and kids help$[] - help string property for target and kids  
XuiSetHintString  ( grid, #SetHintString, 0, 0, 0, 0, kid, @hint$ )  grid,kid - target grid #SetHintString - message: set hint string property hint$ - hint string property  
XuiSetImage  ( grid, #SetImage, image, imageAlign, inX, inY, kid, @image$ )  grid,kid - target grid #SetImage - message: set image properties image - grid number of image grid (alternate to image$) imageAlign - image alignment property (reserved) inX,inY - indent image from left/top border of target  
XuiSetImageCoords  ( grid, #SetImageCoords, startX, startY, width, height, kid, 0 )  grid,kid - target grid #SetImageCoords - message: set image coordinates startX,startY - start displaying image x,y pixels from left/top width,height - width,height of image to display in pixels  
XuiSetIndent  ( grid, #SetIndent, inLeft, inTop, inRight, inBottom, kid, 0 )  grid,kid - target grid #SetIndent - message: set text indent properties inLeft - indent text from left border (-1 = no change) inTop - indent text from top border (-1 = no change) inRight - indent text from right border (-1 = no change) inBottom - indent text from bottom border (-1 = no change)  
XuiSetJustify  ( grid, #SetJustify, justify, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetJustify - message: set text justify property justify - text justify property (-1 = no change)  
XuiSetKeyboardFocus  ( grid, #SetKeyboardFocus, g, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetKeyboardFocus - message: set keyboard focus g - grid to receive keyboard focus (0 for target)  
XuiSetKeyboardFocusGrid  ( grid, #SetKeyboardFocusGrid, g, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetKeyboardFocusGrid - message: set window keyboard focus grid g - grid to receive keyboard focus in window (0 = target)  
XuiSetMaxMinSize  ( grid, #SetMaxMinSize, maxW, maxH, minW, minH, kid, 0 )  grid,kid - target grid #SetMaxMinSize - message: set max/min size properties maxW,maxH - maximum width,height of target (-1 = no change) minW,minH - minimum width,height of target (-1 = no change)  
XuiSetMessageFunc  ( grid, #SetMessageFunc, message, func, 0, 0, kid, 0 )  grid,kid - target grid #SetMessageFunc - message: set message processing function message - set message processing function for this message func - message processing function address  
XuiSetMessageFuncArray  ( grid, #SetMessageFuncArray, 0, 0, 0, 0, kid, @func[] )  grid,kid - target grid #SetMessageFuncArray - message: set message processing function array func[] - array of message processing function addresses  
XuiSetMessageSub  ( grid, #SetMessageSub, message, sub, 0, 0, kid, 0 )  grid,kid - target grid #SetMessageSub - message: set message processing subroutine message - set message processing subroutine for this message sub - message processing subroutine address  
XuiSetMessageSubArray  ( grid, #SetMessageSubArray, 0, 0, 0, 0, kid, @sub[] )  grid,kid - target grid #SetMessageSubArray - message: set message processing subroutines sub[] - message processing subroutine array  
XuiSetMouseFocus  ( grid, #SetMouseFocus, g, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetMouseFocus - message: set mouse focus to target g - grid to receive mouse focus (target if g = 0)  
XuiSetSize  ( grid, #SetSize, x, y, width, height, kid, 0 )  grid,kid - target grid #SetSize - message: set position and size of target x,y - coordinates of upper-left corner of target width,height - width,height of target in pixels  
XuiSetRedrawFlags  ( grid, #SetRedrawFlags, redrawFlags, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetRedrawFlags - message: set redraw flags property redrawFlags - redraw flags property  
XuiSetState  ( grid, #SetState, state, keyboard, mouse, redraw, kid, 0 )  grid,kid - target grid #SetState - message: set state properties state - state property keyboard - keyboard property mouse - mouse property redraw - redraw property  
XuiSetStyle  ( grid, #SetStyle, style, styleMax, 0, 0, kid, 0 )  grid,kid - target grid #SetStyle - message: set style properties style - style property styleMax - maximum valid style property  
XuiSetTextArray  ( grid, #SetTextArray, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #SetTextArray - message: set text array property text$[] - text array property  
XuiSetTextArrayLine  ( grid, #SetTextArrayLine, line, 0, 0, 0, kid, @text$ ) 

grid,kid - target grid 
#SetTextArrayLine - message: set text line in text array property 
line - line to replace in text array property 
text$ - text to replace text array line

XuiSetTextArrayLines  ( grid, #SetTextArrayLines, line, count, first, @up, kid, @text$[] )  grid,kid - target grid #SetTextArrayLines - message: replace lines in text array property line - lowest line to replace (0 relative) count - number of lines to replace first - first source text line in text$[] (0 relative) up - upper bound of text array property (result) text$[] - source text lines  
XuiSetTextString  ( grid, #SetTextString, 0, 0, 0, 0, kid, @text$ )  grid,kid - target grid #SetTextString - message: set text string property text$ - text string property  
XuiSetTextStrings  ( grid, #SetTextStrings, 0, 0, 0, 0, kid, @text$[] )  grid,kid - target grid #SetTextStrings - message: set text string to target and kids text$[] - text strings to set to target and kids  
XuiSetTexture  ( grid, #SetTexture, texture, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetTexture - message: set text texture property texture - text texture property  
XuiSetTimer  ( grid, #SetTimer, timer, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetTimer - message: set grid timer timer - milliseconds  
XuiSetValue  ( grid, #SetValue, v0, 0, 0, 0, kid, index )  grid,kid - target grid #SetValue - message: set element of XLONG value array v0 - value to put in value[index] index - element in value array  
XuiSetValues  ( grid, #SetValues, v0, v1, v2, v3, kid, index )  grid,kid - target grid #SetValues - message: set elements of XLONG value array v0,v1,v2,v3 - values to assign to value[index+0] - value[index+3] index - starting element in XLONG value array  
XuiSetValueArray  ( grid, #SetValueArray, 0, 0, 0, 0, kid, @value[] )  grid,kid - target grid #SetValueArray - message: set XLONG value array value[] - value array property (copied)  
XuiSetWindowFunction  ( grid, #SetWindowFunction, func, 0, 0, 0, kid, 0 )  grid,kid - target grid #SetWindowFunction - message: set window function address func - window function address  
XuiSetWindowIcon  ( grid, #SetWindowIcon, icon, 0, 0, 0, kid, @icon$ )  grid,kid - target grid #SetWindowIcon - message: set window icon icon - icon number (if icon$ is an empty string) icon$ - icon name (if empty string, see icon argument)  
XuiSetWindowTitle  ( grid, #SetWindowTitle, 0, 0, 0, 0, kid, @title$ )  grid,kid - target grid #SetWindowTitle - message: set window title title$ - window title  
XuiShowWindow  ( grid, #ShowWindow, 0, 0, 0, 0, kid, 0 )  grid,kid - target grid #ShowWindow - message: show window without selecting  
XuiStartTimer  ( grid, #StartTimer, msec, 0, 0, 0, kid, 0 )  grid,kid - target grid #StartTimer - message: start grid timer msec - milliseconds (if msec <= 0, msec = timer property)